package com.seven.system.service.Impl;

import com.seven.enity.User;
import com.seven.system.dao.UserDao;
import com.seven.system.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author longlong
 * @date 2024/3/6 15:44
 * description
 */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserDao userDao;
    @Override
    public User getByName(String name) {
        return userDao.selectByName(name);
    }
}
